package com.qiniuyun.threedgenerator.dto;

import lombok.Data;

@Data
public class LoginResponse {
    private String token;
    private String tokenType = "Bearer";
    private UserDTO user;
    private long expiresIn;

    public LoginResponse(String token, UserDTO user, long expiresIn) {
        this.token = token;
        this.user = user;
        this.expiresIn = expiresIn;
    }
}